package com.gk.panda.apis.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("生物附件添加实体")
public class BiologyFileSaveDto {

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @ApiModelProperty(value = "拍摄地点")
    private String place;

    @ApiModelProperty(value = "生物名称")
    private String biologyName;

    @ApiModelProperty(value = "生物类别（0-动物，1-植物")
    private Integer biologyKingdom;

    @ApiModelProperty(value = "文件类型（0-图片，1-视频")
    private Integer type;

    @ApiModelProperty(value = "文件地址")
    private String url;

    @ApiModelProperty(value = "生物数量")
    private Integer biologyNum;

    @ApiModelProperty(value = "拍摄时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shootingTime;

    @ApiModelProperty(value = "经度")
    private String lot;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "行为")
    private String behavior;

    @ApiModelProperty(value = "备注")
    private String remark;
}
